package org.jeecg.modules.demo.baseorde.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description: 订单明细
 * @Author: jeecg-boot
 * @Date: 2022-01-27
 * @Version: V1.0
 */
@Data

@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "base_order_commodity_json对象", description = "订单明细")
public class BaseOrderCommodityJson implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号")
    private String orderCode;
    /**
     * 商品/项目
     */
    @ApiModelProperty(value = "商品/项目")
    private String name;
    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String specification;
    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    private Integer count;
    /**
     * 单价(元)
     */
    @ApiModelProperty(value = "单价(元)")
    private Double price;
    /**
     * 小计(元)
     */
    @ApiModelProperty(value = "小计(元)")
    private Double totalPrice;
    /**
     * 优惠(元)
     */
    @ApiModelProperty(value = "优惠(元)")
    private Double discountAmount;
    /**
     * free
     */
    @ApiModelProperty(value = "free")
    private Boolean free;
    /**
     * staff_percentage
     */
    @ApiModelProperty(value = "staff_percentage")
    private String staffPercentage;
    /**
     * 员工id
     */
    @ApiModelProperty(value = "员工id")
    private String staffId;
    /**
     * type
     */
    @ApiModelProperty(value = "type")
    private Integer type;
    /**
     * pic
     */
    @ApiModelProperty(value = "pic")
    private String pic;
    /**
     * details_url
     */
    @ApiModelProperty(value = "details_url")
    private String detailsUrl;
    /**
     * 销售人员
     */
    @ApiModelProperty(value = "销售人员")
    private String staffName;
    /**
     * 销售提成
     */
    @ApiModelProperty(value = "销售提成")
    private Double staffCommission;
}

